/**
 * The Prophecy
 * java based lightweight texas hold'em poker software base
 * http://code.google.com/p/theprophecy/
 */

package org.poker.prophecy.core;

/**
 * @author bg
 */

public class PokerRankingTranslator implements PokerRankingInterface{

    public static String getStringForConstant(int constant){
        switch (constant){
            case ROYALFLUSH: return "Royal Flush";
            case STRAIGHTFLUSH: return "Straight Flush";
            case POKER: return "Poker";
            case FULLHOUSE: return "Full House";
            case FLUSH: return "Flush";
            case STRAIGHT: return "Straight";
            case TRIPLETS: return "Triplets";
            case TWOPAIRS: return "Two Pairs";
            case ONEPAIR: return "One Pair";
            case HIGHCARD: return "High Card";
            default: return "?UNKNOWN?";
        }
    }

}
